<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>李安华小说</title>
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/swiper.min.css"/>
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>

		<script src="js/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/vue.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/miva.components.vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/miva.utils.js" type="text/javascript" charset="utf-8"></script>

		<script src="https://cdn.bootcss.com/axios/0.19.0-beta.1/axios.min.js"></script>

		<link rel="stylesheet" type="text/less" href="css/entry.less"/>
		<script src="js/less.js" type="text/javascript" charset="utf-8"></script>


		<style media="screen">
			.mui-bar {
				box-shadow: none;
			}
		</style>

	</head>
	<body>
		<div id="app" class="bbsPage">
			<header class="mui-bar mui-bar-nav">
				<h1 class="mui-title">李安华小说</h1>
			</header>
			<div class="mui-content">

				<div class="wap-screen-box">
					<div class="miva-tabbar-box">
						<div @tap="wapSwitchPage(1)" class="miva-tabber" :class="wapPage==1 ? 'miva-active' : '' ">作品讨论</div>
						<div @tap="wapSwitchPage(2)" class="miva-tabber" :class="wapPage==2 ? 'miva-active' : '' ">行业资讯</div>
					</div>

					<div v-show="wapPage==1" class="miva-screen-item">
						<div class="screen-title">评论</div>
						<frame-work-comment></frame-work-comment>
					</div>
					<div v-show="wapPage==2" class="miva-screen-item">
						<frame-work-infomation type="2"></frame-work-infomation>
						<frame-work-infomation type="3"></frame-work-infomation>
						<frame-work-infomation type="2"></frame-work-infomation>
						<frame-work-infomation type="3"></frame-work-infomation>
					</div>
				</div>


				<tab-bar now-tabbar="2"></tab-bar>
			</div>
		</div>

		<script type="text/javascript" charset="utf-8">
			mui.init();

			new Vue({
				el: '#app',
				components: {
					tabBar: miva.tabBar,
					frameWorkComment: miva.frameWorkComment,
					frameWorkInfomation: miva.frameWorkInfomation,
				},
				data: {
					wapPage: 2,
				},
				methods: {
					wapSwitchPage(pageID) {
						if (pageID != this.wapPage) {
							this.wapPage = pageID;
							window.scrollTo(0,0)
						}
					},
				},

			})
		</script>
	</body>
</html>
